﻿using System.Collections;
using System.Collections.Generic;
using CalcSharp.Core.Containers;
using CalcSharp.Core.Plugin;
using System.Windows.Forms;
using CalcSharp.Core;
using System.Drawing;

namespace CalcSharp
{
    class BareWinPlugin: IWindowPlugin
    {
        private IPluginHost m_Host;

        public Form RunWindow(ArrayList plugparams)
        {
            throw new CSException("This command can't be runed");
        }

        public string Name
        {
            get { return ""; }
        }

        public Bitmap PluginIcon
        {
            get { return null; }
        }

        public Dictionary<string, string> autocomplete
        {
            get {  return new Dictionary<string, string>(); }
        }

        public string Help
        {
            get { return ""; }
        }

        public IPluginHost Host
        {
            get
            {
                return this.m_Host;
            }
            set
            {
                this.m_Host = value;
                this.m_Host.Register(this);
            }
        }
    }
}
